package com.chuang.bootplus.service;

import com.chuang.bootplus.base.utils.ApiResponse;
import com.chuang.bootplus.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chuang.bootplus.po.MessagePO;
import com.chuang.bootplus.vo.MessageVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-11-22
 */
public interface MessageService extends IService<Message> {

    ApiResponse<Void> send(MessagePO po);

    ApiResponse<MessageVO> listAll();
}
